package com.tedu.parkinglot.parkRecord.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ParkRecordQuery {
    @ApiModelProperty(value = "停车卡id")
    private Long carId;
    @ApiModelProperty(value = "停车场名称")
    private String name;
    @ApiModelProperty(value = "车牌号")
    private String license;
    @ApiModelProperty(value = "使用时长")
    private Long userTime;
    @ApiModelProperty(value = "进场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entranceTime;
    @ApiModelProperty(value = "离场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leaveTime;
    @ApiModelProperty(value = "停车场id")
    private Long parkingId;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date create_time;
}
